home *** CD-ROM | disk | FTP | other *** search
/ QuickTime - The Beta Release / QuickTime - The Beta Release.iso / Programming Stuff / Sample Code / Example Compressor / examplecodec.make < prev    next >
Text File  |  1991-09-05  |  1KB  |  40 lines

  1.  
  2. COptions     = -warnings off -I {INTERFACES} -mc68020  -o "{warholObjects}"
  3. AOptions     = -wb -o "{warholObjects}"
  4. Roptions     = -append -i {interfaces}
  5.  
  6.  
  7. interfaces = "{warholSources}Interface:"
  8. BUILDRES = "{warholSources}BuildResults:"
  9. imagecomp = "{warholSources}Interface:image compression.h"
  10. codecguts = "{warholSources}Interface:Image Codec.h"
  11.  
  12.  
  13. ExampleCodec    ƒƒ     makefile ExampleCodec.r {warholSources}Interface:"Image Codec.r" "{warholObjects}"registerthings
  14.     Echo   "# `date -s -t` -- Rezzing ExampleCodec"
  15.     Rez {ROptions} -o ExampleCodec -c 'appl' -t 'thng' ExampleCodec.r
  16.  
  17.  
  18.     
  19. ExampleCodec     ƒƒ    "{warholObjects}"ExampleCodec.c.o ∂
  20. #                    "{warholObjects}"ExampleCodec.a.o ∂
  21.                     makefile
  22.     Echo   "# `date -s -t` -- Linking ExampleCodec"
  23.     Link -w -m EXAMPLECODEC -rt 'cdec'=128 -ra 16 ∂
  24.         -sg Inst {SYMBOLS}∂
  25.          "{warholObjects}"ExampleCodec.c.o ∂
  26. #         "{warholObjects}"ExampleCodec.a.o ∂
  27.         "{Libraries}"Runtime.o ∂
  28.         "{Libraries}"Interface.o ∂
  29.         -o ExampleCodec -c "mark" -t "thng" 
  30.  
  31.  
  32. "{warholObjects}"ExampleCodec.c.o ƒ 'Makefile' ExampleCodec.c {imagecomp} {codecguts}
  33.     Echo   "# `date -s -t` -- Compiling ExampleCodec"
  34.      C -b2 {COptions} ExampleCodec.c
  35.  
  36. "{warholObjects}"ExampleCodec.a.o ƒ 'Makefile' ExampleCodec.a {imagecomp} {codecguts}
  37.     Echo   "# `date -s -t` -- Assembling ExampleCodec"
  38.      Asm {AOptions} ExampleCodec.a
  39.  
  40.